/*
 * Copyright 2020 tu.cn All right reserved. This software is the
 * confidential and proprietary information of tu.cn ("Confidential
 * Information"). You shall not disclose such Confidential Information and shall
 * use it only in accordance with the terms of the license agreement you entered
 * into with Tu.cn
 */
package com.onedec.message.serviceImpl;

import com.onedec.message.entity.OnedecMsg;
import com.onedec.message.mapper.OnedecMsgMapper;
import com.onedec.message.service.MessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 31014
 * @date 2020/7/13 10:43
 */
@Service
public class MessageServiceImpl implements MessageService {
    @Resource
    private OnedecMsgMapper onedecMsgMapper;

    @Override
    public void insertMessage(OnedecMsg onedecMsg) {
        onedecMsgMapper.insertSelective(onedecMsg);
    }
}